﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;

using EF.DAL.Base;

namespace EF.BLL.Base
{
    public class MenuService
    {
        private MenuDAO menuDAL = new MenuDAO();

        /// <summary>
        /// 获取角色的菜单
        /// </summary>
        /// <param name="roleId">角色Id</param>
        /// <param name="lang">语言(zh-cn,en-us,ja)</param>
        /// <returns></returns>
        public DataTable GetMenu(string role, string lang)
        {
            return menuDAL.GetMenu(role, lang);
        }
    }
}
